/*与业务有关联的js*/
;$(function() {
	
	//实现回车查询，判断存在search方法就支持回车查询
	$(document).keydown(function(event){
		if(event.which == 13) {
			var t = typeof window.search;
			if(t == 'function') {
				window.search();
			}
		}
	});
	
	
	$('.adv-search').toggle();
	$('#advSearch').click(function(){
		$('.adv-search').toggle();		
	});
	
});

